﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<Framework.Mvc.AgencyVideoListViewModel>" %>

<%@ Import Namespace="Framework.Mvc" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>经销商视频列表</title>
    <link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        #apDiv1
        {
            position: absolute;
            left: 694px;
            top: 114px;
            width: 19px;
            height: 17px;
            z-index: 1;
        }
        .STYLE2
        {
            font-size: 12px;
        }
        .style1
        {
            width: 107px;
        }
        .style2
        {
            width: 79px;
        }
        .style3
        {
            width: 100px;
        }
        .style4
        {
            width: 80px;
        }
    </style>
</head>
<body>
    <div id="apDiv1">
        <img src="../../images/HOT.gif" width="27" height="14" /></div>
    <div class="top">
        <div class="Online_consulting">
            在线咨询 客服电话：010-85808816</div>
        <div class="registered">
            <a href="#">个人登录</a> | <a href="#">个人免费注册</a> | <a href="#">商家登录</a> | <a href="#">商家免费注册</a>
            | <a href="#">加入收藏</a></div>
    </div>
    <div class="head">
        <div class="logo">
            <img src="../../images/daxi_09.gif" width="228" height="82" alt="" /></div>
        <div class="advertising">
            <img src="../../images/1.jpg" width="622" height="82" /></div>
    </div>
    <div class="nav">
        <div class="nav1">
            <ul>
                <li id="ding"><a href="#">网站首页</a></li>
                <li><a href="#">大喜社区</a></li>
                <li><a href="#">婚宴特讯</a></li>
                <li><a href="#">大喜婚宴</a></li>
                <li><a href="#">大喜婚宴</a></li>
            </ul>
        </div>
        <div class="search">
            <div class="search1">
                <table width="70" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td width="62">
                            婚宴酒店
                        </td>
                        <td width="10">
                            <img src="../../images/daxi_23.gif" width="6" height="11" alt="" />
                        </td>
                    </tr>
                </table>
            </div>
            <div class="search2">
                <label for="select">
                </label>
                <select name="select" id="select" style="width: 85px;">
                    <option>区域 </option>
                    <option>东城区</option>
                    <option>海定区</option>
                    <option>朝阳区</option>
                    <option>丰台区</option>
                    <option>石景山区</option>
                </select>
            </div>
            <div class="search2">
                <label for="select">
                </label>
                <select name="select" id="select">
                    <option>人均消费 </option>
                    <option>1000~~2000</option>
                    <option>2000~~3000</option>
                    <option>3000以上</option>
                </select>
            </div>
            <div class="search2">
                <label for="select">
                </label>
                <select name="select" id="select">
                    <option>7桌以下</option>
                    <option>8~13桌 </option>
                    <option>14~19桌 </option>
                    <option>20~29桌 </option>
                    <option>30桌以上 </option>
                </select>
            </div>
            <div class="search2">
                <input name="textfield" type="text" id="textfield" style="width: 100px; height: 15px;" />
            </div>
            <div class="search3">
                <img src="../../images/daxi_20.gif" width="67" height="27" /></div>
        </div>
    </div>
    <div style="clear: both">
    </div>
    <div class="biaonav">
        <div class="biaonav1">
            <ul>
                <li>
                    <img src="../../images/daxi_30.gif" alt="" width="30" height="41" border="0" /></li>
                <li><a href="#">婚庆公司</a></li>
                <li>
                    <img src="../../images/daxi_33.gif" alt="" width="30" height="41" border="0" /></li>
                <li><a href="#">婚车租凭</a></li>
                <li>
                    <img src="../../images/daxi_35.gif" width="30" height="41" alt="" /></li>
                <li><a href="#">婚礼摄影</a></li>
                <li>
                    <img src="../../images/daxi_37.gif" width="30" height="41" alt="" /></li>
                <li><a href="#">婚纱摄影</a></li>
                <li>
                    <img src="../../images/daxi_39.gif" width="30" height="41" alt=""></li>
                <li><a href="#">婚礼主持</a></li>
                <li>
                    <img src="../../images/daxi_42.gif" width="30" height="41" alt=""></li>
                <li><a href="#">鲜花/蛋糕 </a></li>
                <li>
                    <img src="../../images/daxi_44.gif" width="30" height="41" alt=""></li>
                <li><a href="#">婚纱彩妆</a></li>
            </ul>
        </div>
        <div class="biaonav2">
            <img src="../../images/daxi_46.gif" width="174" height="41" alt="" /></div>
    </div>
    <!--中间部分-->
    <div class="middle">
        <div class="left">
            <div class="left_1">
                基本信息</div>
            <div class="left_2">
                <ul>
                    <li id="b1"><a href="#">修改商家资料</a></li>
                    <li id="b2"><a href="#">修改地区</a></li>
                    <li id="b3"><a href="#">行业类别</a></li>
                    <li id="b4"><a href="#">修改我的LGOO</a></li>
                    <li id="b5"><a href="#">修改登录密码</a></li>
                    <li id="b6"><a href="#">退出我的系统</a></li>
                </ul>
            </div>
            <div class="left_3">
                <img src="../../images/sj_xiougai_14.gif" width="195" height="5" alt="" /></div>
            <div class="left_4">
                商家专区</div>
            <div class="left_5">
                <ul>
                    <li id="n1"><a href="#">管理折扣信息</a></li>
                    <li id="n2"><a href="#">管理我的相册</a></li>
                    <li id="n3"><a href="#">管理我的视频</a></li>
                    <li id="n4"><a href="#">管理服务t报价</a></li>
                    <li id="n5"><a href="#">管理网友留言</a></li>
                    <li id="n6"><a href="#">管理预约信息</a></li>
                    <li id="n7"><a href="#">添加我的地图</a></li>
                    <li id="n8"><a href="#">新人注册信息</a></li>
                    <li id="n9"><a href="#">新人信息收藏夹</a></li>
                    <li id="n0"><a href="#">管理我的位置</a></li>
                    <li id="n11"><a href="#">酒店详细资料信息</a></li>
                    <li id="n12"><a href="#">大厅介绍</a></li>
                </ul>
            </div>
            <div class="left_6">
                <img src="../../images/sj_xiougai_40.gif" width="195" height="4" alt="" /></div>
        </div>
        <div class="right">
            <div class="right_1">
                管理我的视频</div>
            <div class="right_2">
                <br />
                <table width="733" height="217" border="0" align="center" cellpadding="0" cellspacing="1"
                    bgcolor="#e5b3b3">
                    <tr>
                        <td height="34" bgcolor="#fff3f2">
                            <table width="718" border="0" align="center" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td width="150" align="center">
                                        <span class="STYLE2">视频名称</span>
                                    </td>
                                    <td width="250" align="center">
                                        <span class="STYLE2">视频介绍</span>
                                    </td>
                                    <td width="138" align="center">
                                        <span class="STYLE2">视频排序</span>
                                    </td>
                                    <td width="90" align="center">
                                        <span class="STYLE2">修改视频</span>
                                    </td>
                                    <td width="90" align="center">
                                        <span class="STYLE2">删除视频</span>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td height="133" valign="top" bgcolor="#FFFFFF">
                            <span class="STYLE2"></span>
                            <table width="718" border="0" align="center" cellpadding="0" cellspacing="0" style="padding-bottom: 10px;
                                border-bottom: 1px dashed #CCCCCC;">
                                <%foreach (var item in this.Model.List)
                                  {
                                %>
                                <tr>
                                    <td width="150" height="72">
                                    <%: Html.ActionLink(item.Name, "Detail", new { identity = item.Id })%>
                                    </td>
                                    <td width="250" align="center">
                                        <span class="STYLE2">
                                            <%: Html.ActionLink(item.Description.ToString(), "Detail", new { identity = item.Id })%>
                                        </span>
                                    </td>
                                    <td width="138" align="center">
                                        <span class="STYLE2">
                                            <%: Html.ActionLink(item.Rank.ToString(), "Detail", new { identity = item.Id })%>
                                        </span>
                                    </td>
                                    <td width="90" align="center">
                                        <span class="STYLE2">
                                            <%: Html.ActionLink("修改", "Edit", new { identity = item.Id })%>
                                        </span>
                                    </td>
                                    <td width="90" align="center">
                                        <span class="STYLE2">
                                            <%: Html.ActionLink("删除", "Delete", new { identity = item.Id })%>
                                        </span>
                                    </td>
                                </tr>
                                <%
                                      }
                                %>
                            </table>
                            <br />
                        </td>
                    </tr>
                </table>
                <br />
                <table width="733" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#e5b3b3">
                    <tr>
                        <td bgcolor="#fff3f2">
                            <table width="718" border="0" align="center" cellpadding="0" cellspacing="0">
                                <%
                                    using (Html.BeginForm("Create", "AgencyVideo"))
                                    {
                                %>
                                <tr>
                                    <td height="33" align="center" class="style4">
                                        <span class="STYLE2">请输入视频名称:</span>
                                    </td>
                                    <td class="style3">
                                        <%: Html.TextBoxFor(m => m.Instance.Name) %>
                                    </td>
                                    <td align="center" class="style2">
                                        <span class="STYLE2">请输入视频排序:</span>
                                    </td>
                                    <td class="style1">
                                        <%: Html.TextBoxFor(m => m.Instance.Rank) %>
                                    </td>
                                </tr>
                                <tr>
                                    <td height="33" align="center" class="style4">
                                        <span class="STYLE2">请输入视频简介:</span>
                                    </td>
                                    <td class="style3">
                                        <%: Html.TextAreaFor(m => m.Instance.Description, new { rows = "10", cols = "17" })%>
                                    </td>
                                    <td height="33" align="center" class="style4">
                                        <span class="STYLE2">请输入视频地址:</span>
                                    </td>
                                    <td class="style3">
                                        <%: Html.TextBoxFor(m => m.Instance.VideoUrl)%>
                                    </td>
                                    <td>
                                        <input type="submit" value="" id="submit" />
                                    </td>
                                </tr>
                                <%
                                    } 
                                %>
                            </table>
                        </td>
                    </tr>
                </table>
                <br />
            </div>
            <div class="right_3">
                <img src="../../images/bjsj.gif" width="755" height="4" alt="" /></div>
        </div>
    </div>
    <div style="clear: both">
    </div>
    <div class="foot">
        <a href="#">网站首页</a> - <a href="#">关于我们</a> - <a href="#">商家合作</a> - <a href="#">联系我们</a>
        - <a href="#">网站声明</a> - <a href="#">隐私保护</a> - <a href="#">站点地图</a><br />
        联系电话：010-85808816<br />
        Cophyright 2011 www.daxiwed.com.ALLrights reserved.<br />
        版权所有：大喜结婚网 京 ICP备 08103607号 京 ICP证090832号</div>
</body>
</html>
<%--<asp:Content ID="Content3" ContentPlaceHolderID="TitleContent" runat="server">
    经销商视频删除
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <table>
        <tr>
            <th>
                视频名称
            </th>
            <th>
                视频详情
            </th>
            <th>
                视频修改
            </th>
            <th>
                视频删除
            </th>
        </tr>
        <%foreach (var item in this.Model.List)
          {
        %>
        <tr>
            <td>
                <%=item.Name %>
            </td>
            <td>
                <%: Html.ActionLink("详情", "Detail", new { identity = item.Id })%>
            </td>
            <td>
                <%: Html.ActionLink("修改", "Edit", new { identity = item.Id })%>
            </td>
            <td>
                <%: Html.ActionLink("删除", "Delete", new { identity = item.Id })%>
            </td>
        </tr>
        <%
          } %>
    </table><br />
    <%: Html.ActionLink("创建", "Create") %>
</asp:Content>--%>
